<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">



<h:head>
	<title>PURCHASES HISTORY</title>
</h:head>
<h:body>

<h:form>  
    <p:dataTable var="purchase" value="#{purchaseBean.purchaseList}">  
        <p:column headerText="ID USER">  
            <h:outputText value="#{purchase.idbuyer}" />  
        </p:column>  
  
        <p:column headerText="PRODUCT PURCHASED">  
            <h:outputText value="#{purchase.idproduct}" />  
        </p:column>  
  
        
    </p:dataTable>  
</h:form>  
</h:body>
</html>